﻿
    using Chain.BLL;
    using System;
    using System.Data;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public partial class MicroWebsiteIndex : PageBase
    {

        private MerchantSite merchantSiteBll = new MerchantSite();
        protected Random r = new Random();


        private void BindMicroWebsiteIndex()
        {
            DataTable dt = this.merchantSiteBll.GetAllList().Tables[0];
            this.gvwMicroWebsiteIndex.DataSource = dt;
            this.gvwMicroWebsiteIndex.DataBind();
            PageBase.BindSerialRepeater(this.gvwMicroWebsiteIndex, 0);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {
                this.BindMicroWebsiteIndex();
            }
        }
    }


